package com.xbongbong.pro.form.pojo.dto;

import com.xbongbong.paas.pojo.dto.FormEntityUpdateDTO;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 表单批量增加
 * @author 吴峰
 * @version v1.0
 * @date 2019/1/23 18:50
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormUpdateBatchDTO extends BaseDTO {

    private static final long serialVersionUID = 6263186536574597432L;
    @NotEmpty(message = "{dto.msg.formUpdateBatch.formList.NotEmpty}")
    private List<FormEntityUpdateDTO> formList;

    private Integer companyInit;

    public FormUpdateBatchDTO(){
        companyInit = 0;
    }
}
